package edu.ybu.manage.service;

import edu.ybu.manage.pojo.Dealer;

import java.util.List;

public interface DealerService {
    List<Dealer> selectAll();
    Integer selectAllCount();
    List<Dealer> selectAllByPage(Integer page,Integer limit);
    Integer selectAllByPageCount(Integer page,Integer limit);
    Integer insertDealer(Dealer dealer);
    Integer deleteById(Integer id);
    Integer deleteByIds(List<Integer> ids);
    Integer updateById(Dealer dealer);
    List<Dealer> selectByCondition(Dealer dealer);
}
